package com.lzm.ydpt.module.mall.activity;

import android.view.View;

import com.byt.framlib.base.BaseActivity;
import com.byt.framlib.basemvp.BasePresenter;
import com.byt.framlib.commonwidget.NormalTitleBar;
import com.byt.framlib.commonwidget.onclicktwo.AntiShake;
import com.lzm.ydpt.R;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 选择
 */
public class SelectRefundStateActivity extends BaseActivity {
    @BindView(R.id.ntb_select_refund_state)
    NormalTitleBar ntb_apply_change_product;

    @Override
    public int getLayoutId() {
        return R.layout.activity_select_refund_state;
    }

    @Override
    public BasePresenter initPreData() {
        return null;
    }

    @Override
    public void initView() {
        ntb_apply_change_product.setTitleText("选择售后类型");
    }

    @OnClick({R.id.rl_apply_change_product, R.id.rl_apply_refund})
    public void onClick(View view) {
        if (AntiShake.check(view.getId())) {
            return;
        }
        switch (view.getId()) {
            case R.id.rl_apply_change_product:// 换货
                openActivity(ApplyChangeProductActivity.class);
                break;
            case R.id.rl_apply_refund: // 退货退款
                openActivity(RefundOrderActivity.class);
                break;
        }

    }
}
